package com.aigou.admin.service;

import com.aigou.admin.entity.PageEntity;
import com.aigou.admin.entity.Sales;
import com.aigou.admin.entity.Shop_cart_product;
import com.aigou.admin.entity.User;

import java.util.List;

/**
 * @Author: May
 * @Date: 2024/12/3 17:11
 * @Version: 1.0
 */
public interface Shop_cart_productService {
    List<Shop_cart_product> findAll();
    Shop_cart_product findById(String id);
    Boolean save(Shop_cart_product shopCartProduct);
    Boolean update(Shop_cart_product shopCartProduct);
    Boolean remove(String id);

    /**
     * 分页查询
     * @param current
     * @param pageSize
     * @return
     */
    PageEntity<Shop_cart_product> findUserPage(Integer current, Integer pageSize);
}
